import { RouteRecordRaw } from 'vue-router'
import { ROUTER_NAME } from '@/constant'
import { LAYOUT, BLANK_LAYOUT } from '@/router/constant'
import { setRootPathByPermission } from '@/router/util'
const pageRouterConfig: RouteRecordRaw = {
    name: ROUTER_NAME.PAGE_DASHBOARD + '_ROOT',
    // 匹配全部其他内容
    path: import.meta.env.VITE_PUBLIC_PATH + '/',
    redirect: res => {
        return setRootPathByPermission()
    },
    component: LAYOUT,
    meta: {
        isLayout: true,
        hideMenu: false,
        title: 'MENU_LAYOUT'
    },
    children: [
        {
            name: 'menu_page_50000005_or1v6r878w',
            path: '/menu_50000005_or1v6r878w',
            redirect: '/app_50000005/page/50000513',
            meta: {
                code: '50000005_or1v6r878w',
                settingId: 'null',
                menuExpandFlag: true,
                hideMenu: false,
                title: '项目管理',
                icon: ''
            },
            children: [
                {
                    path: '/app_50000005/page/jiaofu',
                    component: () => import('@/views/page/jiaofu.vue'),
                    meta: {
                        code: '50000005_odurqo1bxv',
                        settingId: '50000503',
                        menuExpandFlag: true,
                        hideMenu: false,
                        title: '检查清单管理',
                        icon: 'null'
                    }
                }
            ]
        },

        {
            name: 'menu_page_50000005_r1b0l7hmae',
            path: '/menu_50000005_r1b0l7hmae',
            redirect: '/app_50000005/allin-app/allin-privilege-management-web/organizational',
            meta: {
                code: '50000005_r1b0l7hmae',
                settingId: 'null',
                menuExpandFlag: true,
                hideMenu: false,
                title: '系统管理',
                icon: ''
            },
            children: [
                {
                    name: 'menu_system_f7f3cf7e-d470',
                    path: '/app_50000005/allin-app/allin-privilege-management-web/organizational',
                    component: () => import('@/views/system/MicroAppViteContainer.vue'),
                    meta: {
                        code: 'lowCode_organizational',
                        settingId: 'f7f3cf7e-d470',
                        menuExpandFlag: true,
                        hideMenu: false,
                        title: '组织架构管理',
                        icon: 'null'
                    }
                },
                {
                    name: 'menu_system_f3b6d861-1a04',
                    path: '/app_50000005/allin-app/allin-privilege-management-web/user_group',
                    component: () => import('@/views/system/MicroAppViteContainer.vue'),
                    meta: {
                        code: 'lowCode_userGroup',
                        settingId: 'f3b6d861-1a04',
                        menuExpandFlag: true,
                        hideMenu: false,
                        title: '用户组管理',
                        icon: 'null'
                    }
                },
                {
                    name: 'menu_system_6ff38628-3b17',
                    path: '/app_50000005/allin-app/allin-privilege-management-web/role',
                    component: () => import('@/views/system/MicroAppViteContainer.vue'),
                    meta: {
                        code: 'lowCode_role',
                        settingId: '6ff38628-3b17',
                        menuExpandFlag: true,
                        hideMenu: false,
                        title: '角色管理',
                        icon: 'null'
                    }
                },
                {
                    name: 'menu_system_d55db19a-639f',
                    path: '/app_50000005/allin-app/allin-privilege-management-web/user',
                    component: () => import('@/views/system/MicroAppViteContainer.vue'),
                    meta: {
                        code: 'lowCode_user',
                        settingId: 'd55db19a-639f',
                        menuExpandFlag: true,
                        hideMenu: false,
                        title: '用户管理',
                        icon: 'null'
                    }
                },

                {
                    path: '/app_50000005/page/ribao',
                    component: () => import('@/views/page/old/ribao.vue')
                },

                {
                    path: '/app_50000005/page/muban',
                    component: () => import('@/views/page/old/jfmubanguanli.vue')
                },
                {
                    path: '/app_50000005/page/gzt',
                    component: () => import('@/views/page/gzt.vue')
                },

                {
                    path: '/app_50000005/page/jdkanban',
                    component: () => import('@/views/page/old/jdkanban.vue')
                },

                {
                    path: '/app_50000005/page/xdx',
                    component: () => import('@/views/page/old/xdx.vue')
                },
                {
                    path: '/app_50000005/page/jixiao',
                    component: () => import('@/views/page/jixiao/Page3000000458.vue')
                },
                {
                    path: '/app_50000005/page/Page3000000459',
                    component: () => import('@/views/page/jixiao/Page3000000459.vue')
                },
                {
                    path: '/app_50000005/page/ceshigante',
                    component: () => import('@/views/page/old/ceshigante.vue')
                },

                {
                    path: '/app_50000005/page/shenpi',
                    component: () => import('@/views/page/old/shenpi.vue')
                },

                {
                    path: '/app_50000005/page/map',
                    component: () => import('@/views/page/old/map.vue')
                },
                {
                    path: '/app_50000005/page/newView',
                    component: () => import('@/views/page/xiezuo/newView.vue')
                },
                {
                    path: '/app_50000005/page/peizhi',
                    component: () => import('@/views/page/xiezuo/peizhi.vue')
                },
                {
                    path: '/app_50000005/page/ygzhoubao',
                    component: () => import('@/views/page/xiezuo/ygzhoubao.vue')
                },
                {
                    path: '/app_50000005/page/zongjie',
                    component: () => import('@/views/page/xiezuo/zongjie.vue')
                },
                {
                    path: '/app_50000005/page/ygzongjie',
                    component: () => import('@/views/page/xiezuo/ygzongjie.vue')
                },
                {
                    path: '/app_50000005/page/jinzhan',
                    component: () => import('@/views/page/xiezuo/jinzhan.vue')
                },
                {
                    path: '/app_50000005/page/jiankang',
                    component: () => import('@/views/page/xiezuo/jiankang.vue')
                },
                {
                    path: '/app_50000005/page/xmzongjie',
                    component: () => import('@/views/page/xiezuo/xmzongjie.vue')
                },
                {
                    path: '/app_50000005/page/lcbjd',
                    component: () => import('@/views/page/ozujian/lcbjd.vue')
                },
                {
                    path: '/app_50000005/page/ndmb',
                    component: () => import('@/views/page/old/ndmb.vue')
                },
                {
                    path: '/app_50000005/page/66',
                    component: () => import('@/views/page/old/66.vue')
                },
                {
                    path: '/app_50000005/page/10peizhi',
                    component: () => import('@/views/page/shiyue/peihi.vue')
                },
                {
                    path: '/app_50000005/page/quill',
                    component: () => import('@/views/page/gongdan/ceshi.vue')
                },
                {
                    path: '/app_50000005/page/3000000784',
                    component: () => import('@/views/page/gongdan/gongdan.vue')
                },
                {
                    path: '/app_50000005/page/wdgd',
                    component: () => import('@/views/page/gongdan/wdGongdan.vue')
                },
                {
                    path: '/app_50000005/page/gongdanmuban',
                    component: () => import('@/views/page/gongdan/gongdanmuban.vue')
                },
                // {
                //     path: '/app_50000005/page/3000000785',
                //     component: () => import('@/views/page/gongdan/fugongdanxiangqing.vue')
                // },
                {
                    path: '/app_50000005/page/3000001111',
                    component: () => import('@/views/page/gongdan/工单详情.vue')
                },
                {
                    path: '/app_50000005/page/3000000785',
                    component: () => import('@/views/page/gongdan/工单详情.vue')
                },
                {
                    path: '/app_50000005/page/3000000788',
                    component: () => import('@/views/page/gongdan/gongdanshenpi.vue')
                },
                {
                    path: '/app_50000005/page/faqnew',
                    component: () => import('@/views/page/faq/faqnew.vue')
                },
                {
                    path: '/app_50000005/page/pxnew',
                    component: () => import('@/views/page/faq/pxnew.vue')
                },
                {
                    path: '/app_50000005/page/newribao',
                    component: () => import('@/views/page/gongdan/newRibao.vue')
                },
                {
                    path: '/app_50000005/page/gt',
                    component: () => import('@/views/page/gante/index.vue')
                },
                {
                    path: '/app_50000005/page/csgt',
                    component: () => import('@/views/page/gante/csgt.vue')
                },
                {
                    path: '/app_50000005/page/zongti',
                    component: () => import('@/views/page/10kanban/zongti.vue')
                },
                {
                    path: '/app_50000005/page/yanqi',
                    component: () => import('@/views/page/10kanban/yanqi.vue')
                },
                {
                    path: '/app_50000005/page/lcb',
                    component: () => import('@/views/page/ptmuban/lcb.vue')
                },
                {
                    path: '/app_50000005/page/ptkb',
                    component: () => import('@/views/page/ptmuban/kanban.vue')
                },
                {
                    path: '/app_50000005/page/gtdemo',
                    component: () => import('@/views/page/gante/dhtmlx-gantt.vue')
                },
                {
                    path: '/app_50000005/page/qun',
                    component: () => import('@/views/page/10kanban/qun.vue')
                },
                {
                    path: '/app_50000005/page/test',
                    component: () => import('@/views/page/old/test.vue')
                },
                {
                    path: '/app_50000005/page/3000000879',
                    component: () => import('@/views/page/12yue/3000000879.vue')
                },
                {
                    path: '/app_50000005/page/trgl',
                    component: () => import('@/views/page/jixiao/tygl.vue')
                },
                {
                    path: '/app_50000005/page/demo',
                    component: () => import('@/views/page/ceshi/index.vue')
                },
                {
                    path: '/app_50000005/page/cszy',
                    component: () => import('@/views/page/ceshi/test.vue')
                },
                {
                    path: '/app_50000005/page/lhwt',
                    component: () => import('@/views/page/2501/lhwt.vue')
                },
                {
                    path: '/app_50000005/page/jykb',
                    component: () => import('@/views/page/2501/jykb.vue')
                },
                {
                    path: '/app_50000005/page/haha',
                    component: () => import('@/views/page/shiyue/1.vue')
                },
                {
                    path: '/app_50000005/page/kaoshi',
                    component: () => import('@/views/page/2502/kaoshi.vue')
                },
                {
                    path: '/app_50000005/page/ceshi252',
                    component: () => import('@/views/page/2502/ceshi.vue')
                },

                {
                    path: '/app_50000005/page/liuchengtu',
                    component: () => import('@/views/page/gdsop/liuchengtu.vue')
                },
                {
                    path: '/app_50000005/page/sop',
                    component: () => import('@/views/page/gdsop/sop.vue')
                },
                {
                    path: '/app_50000005/page/gdmuban',
                    component: () => import('@/views/page/gdsop/gdmuban.vue')
                },
                {
                    path: '/app_50000005/page/gdpeizhi',
                    component: () => import('@/views/page/gdsop/gdpeizhi.vue')
                },
                {
                    path: '/app_50000005/page/index',
                    component: () => import('@/views/page/test/index.vue')
                },
                {
                    path: '/app_50000005/page/son',
                    component: () => import('@/views/page/test/son.vue')
                },
                {
                    path: '/app_50000005/page/3000000996',
                    component: () => import('@/views/page/2503/3000000988.vue')
                },

                {
                    path: '/app_50000005/page/woderibao',
                    component: () => import('@/views/page/old/wdribao.vue')
                },
                {
                    path: '/app_50000005/page/shujukanban',
                    component: () => import('@/views/page/2503/shujukanban.vue')
                },
                {
                    path: '/app_50000005/page/ztjz',
                    component: () => import('@/views/page/ozujian/Page3000000998.vue')
                },
                {
                    path: '/app_50000005/page/fpjz',
                    component: () => import('@/views/page/ozujian/Page3000000997.vue')
                },
                {
                    path: '/app_50000005/page/yuce',
                    component: () => import('@/views/page/ozujian/Page3000000999.vue')
                },
                {
                    path: '/app_50000005/page/abc',
                    component: () => import('@/views/page/ozujian/a.vue')
                },
                {
                    name: 'menu_system_d55db19a-639f',
                    path: '/app_50000005/allin-app/allin-privilege-management-web/user',
                    component: () => import('@/views/system/MicroAppViteContainer.vue'),
                    meta: {
                        code: 'lowCode_user',
                        settingId: 'd55db19a-639f',
                        menuExpandFlag: true,
                        hideMenu: false,
                        title: '用户管理',
                        icon: 'null'
                    }
                },
                {
                    path: '/app_50000005/page/ptkbceshi',
                    component: () => import('@/views/page/ptmuban/ceshi.vue')
                },
                {
                    path: '/app_50000005/page/3000001017',
                    component: () => import('@/views/page/Page3000001017.vue')
                },
                {
                    path: '/app_50000005/page/3000001016',
                    component: () => import('@/views/page/Page3000001016.vue')
                },

                {
                    path: '/app_50000005/page/hyjy',
                    component: () => import('@/views/page/2503/3000000988.vue')
                },
                {
                    path: '/app_50000005/page/tiaojian',
                    component: () => import('@/views/page/gdsop/tiaojian.vue')
                },
                {
                    path: '/app_50000005/page/g6',
                    component: () => import('@/views/page/gdsop/g6.vue')
                },
                {
                    path: '/app_50000005/page/gdbtn',
                    component: () => import('@/views/page/gongdan/Page3000001042.vue')
                },
                {
                    path: '/app_50000005/page/gdcs',
                    component: () => import('@/views/page/gdcs.vue')
                },
                {
                    path: '/app_50000005/page/rilihui',
                    component: () => import('@/views/page/客户管理/rilihui.vue')
                },
                {
                    path: '/app_50000005/page/6666',
                    component: () => import('@/views/page/客户管理/khgl.vue')
                },
                {
                    path: '/app_50000005/page/3000001099',
                    component: () => import('@/views/page/客户管理/Page3000001062.vue')
                },
                {
                    path: '/app_50000005/page/3000001101',
                    component: () => import('@/views/page/客户管理/rwhx.vue')
                },
                {
                    path: '/app_50000005/page/3000001100',
                    component: () => import('@/views/page/客户管理/gcgl.vue')
                },
                {
                    path: '/app_50000005/page/3000001072',
                    component: () => import('@/views/page/old/项目阶段维护.vue')
                },
                {
                    path: '/app_50000005/page/pingtai',
                    component: () => import('@/views/page/pingtai.vue')
                },
                {
                    path: '/app_50000005/page/duibi',
                    component: () => import('@/views/page/test/测试文本对比.vue')
                },
                {
                    path: '/app_50000005/page/jtzb',
                    component: () => import('@/views/page/jtzb.vue')
                },
                {
                    path: '/app_50000005/page/ddd',
                    component: () => import('@/views/page/ozujian/Page3000001076.vue')
                },
                {
                    path: '/app_50000005/page/khmy',
                    component: () => import('@/views/page/客户管理/Page3000001082.vue')
                },
                {
                    path: '/app_50000005/page/xingante',
                    component: () => import('@/views/page/gante/newGante.vue')
                },
                {
                    path: '/app_50000005/page/ydmb',
                    component: () => import('@/views/page/Page3000001093.vue')
                },
                {
                    path: '/app_50000005/page/3000001102',
                    component: () => import('@/views/page/关联任务.vue')
                },
                {
                    path: '/app_50000005/page/xingongdan',
                    component: () => import('@/views/page/新工单/Page3000001111.vue')
                },
                {
                    path: '/app_50000005/page/3000001112',
                    component: () => import('@/views/page/新工单/Page3000001112.vue')
                },
                {
                    path: '/app_50000005/page/zytr',
                    component: () => import('@/views/page/2507/zytr.vue')
                },
                {
                    path: '/app_50000005/page/snst',
                    component: () => import('@/views/page/shiyue/Page3000001137.vue')
                },
                {
                    path: '/app_50000005/page/dddst',
                    component: () => import('@/views/page/shiyue/Page3000001138.vue')
                },
                {
                    path: '/app_50000005/page/sjzlst',
                    component: () => import('@/views/page/shiyue/Page3000001139.vue')
                },
                {
                    path: '/app_50000005/page/zdhpz',
                    component: () => import('@/views/page/2508/自动化脚本配置.vue')
                },
                {
                    path: '/app_50000005/page/3000001150',
                    component: () => import('@/views/page/Page3000001150.vue')
                },
                {
                    path: '/app_50000005/page/bbgl',
                    component: () => import('@/views/page/Page3000001154.vue')
                },
                {
                    path: '/app_50000005/page/jxpz',
                    component: () => import('@/views/page/jixiao/绩效设置.vue')
                },
                {
                    path: '/app_50000005/page/cspz',
                    component: () => import('@/views/page/2508/canshupeizhi.vue')
                },
                {
                    path: '/app_50000005/page/chai',
                    component: () => import('@/views/page/交付拆出任务测试.vue')
                },
                {
                    path: '/app_50000005/page/xinpingtai',
                    component: () => import('@/views/page/xinpingtai.vue')
                },
                {
                    path: '/app_50000005/page/gyfx',
                    component: () => import('@/views/page/根因分析看板.vue')
                },
                {
                    path: '/app_50000005/page/xinjiaofu',
                    component: () => import('@/views/page/xinjiaofu.vue')
                },
                {
                    path: '/app_50000005/page/3000001214',
                    component: () => import('@/views/page/任务聚合跳转.vue')
                },
              {
                path: '/app_50000005/page/cyzytr',
                component: () => import('@/views/page/2507/cyzytr.vue')
              },
              {
                path: '/app_50000005/page/cs',
                component: () => import('@/views/page/ceshi.vue')
              }
            ]
        }
    ]
}
export default pageRouterConfig
